package com.estagio.entity;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

@Entity
@Table (name="flexLimiar")
public class FlexLimiar {

	@Id
	@SequenceGenerator(name="flexLimiar_id", sequenceName="flexLimiar_id_seq",allocationSize=1,initialValue = 1)
	@GeneratedValue(strategy=GenerationType.SEQUENCE,generator="flexLimiar_id" )
	private Integer idFlexLimiar;

	@JoinColumn(name="idAvaliacaoFisica")
	@ManyToOne
	private AvaliacaoFisica avaliacaoFisica;
	
	private Double isquioTibial;

	public Integer getIdFlexLimiar() {
		return idFlexLimiar;
	}

	public void setidFlexLimiar(Integer idFlexLimiar) {
		this.idFlexLimiar = idFlexLimiar;
	}

	public AvaliacaoFisica getAvaliacaoFisica() {
		return avaliacaoFisica;
	}

	public void setAvaliacaoFisica(AvaliacaoFisica avaliacaoFisica) {
		this.avaliacaoFisica = avaliacaoFisica;
	}

	public Double getIsquioTibial() {
		return isquioTibial;
	}

	public void setIsquioTibial(Double isquioTibial) {
		this.isquioTibial = isquioTibial;
	}

}
